package structuralModel.bridgeMode;

import java.sql.Driver;

public class ClientBridgeModeTest {
    public static void main(String[] args) {
        new DesktopComputer(new AppleBrand()).info();
        new DesktopComputer(new DellBrand()).info();
        new DesktopComputer(new LenovoBrand()).info();

        new NoteComputer(new AppleBrand()).info();
        new NoteComputer(new DellBrand()).info();
        new NoteComputer(new LenovoBrand()).info();

        new FlatComputer(new AppleBrand()).info();
        new FlatComputer(new DellBrand()).info();
        new FlatComputer(new LenovoBrand()).info();

        // 查看JDBC 中的 桥接模式
        Driver driver  = null;
    }
}
